package com.youi.shop.pojo.qo.cart;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.Min;

/**
 * @version 1.0
 * @Author: xxf
 * @CreateDate: 2020/11/11 9:28
 */
@Data
@Validated
@ApiModel("购物车更新")
public class CartUpdateQO {

    @ApiModelProperty(value = "购物车主键")
    private Long cartId;

    @ApiModelProperty(value = "购买数量")
    @Min(1)
    private Integer quantity;






}
